#ifndef HISTOBOTTOM_H
#define HISTOBOTTOM_H

#include <QWidget>

class HistoBottom: public QWidget
{
public:
    HistoBottom(QWidget* parent);
    void setValue(float value);
    void setBackColor(QColor color);
    void setMainColor(QColor color);
protected:
    void paintEvent(QPaintEvent *);
    void drawRange(QPainter *painter);
    void drawValue(QPainter *painter);
private:
    QColor backColor;
    QColor mainColor;
    float value;
};

#endif // HISTOBOTTOM_H
